package com.xc.h05.entity;

import java.io.Serializable;
import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * @TableName consult
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Consult implements Serializable {
    /**
     * 
     */
    private Long id;

    /**
     * 
     */
    private String name;

    /**
     * 
     */
    private String sex;

    /**
     * 
     */
    private Long levelId;

    /**
     * 
     */
    private String img;

    /**
     * 
     */
    private String address;

    /**
     * 
     */
    private String intro;

    /**
     * 
     */
    private Integer authentication;
    private int age;

    private String aptitude;
    private List<Specialty> specialtyList;
//    private Consultlevel consultlevel;

//    private static final long serialVersionUID = 1L;
    private  Consultlevel consultlevel;
//与擅长表的多对多关系
    private List<Specialty> specialtys;
}
